-- GENERATED SPELL FOR [Windroc] --


function spell0_17128(pUnit, Event) --@Eagle Claw,n/a--
pUnit:FullCastSpellOnTarget(30285,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17128', 15000, 1)
end

function Sorts_17128(pUnit, Event)
local choix_sorts_17128 = math.random(0, 0)
if choix_sorts_17128 == 0 then
pUnit:RegisterEvent('spell0_17128', 1, 1)
end
end

function mob17128_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17128', math.random(1500, 3000), 1)
end

function mob17128_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17128_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17128_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17128, 1, 'mob17128_Action')
RegisterUnitEvent(17128, 2, 'mob17128_Leave')
RegisterUnitEvent(17128, 3, 'mob17128_Kill')
RegisterUnitEvent(17128, 4, 'mob17128_Die')
